set base_dir=%~dp0  
%base_dir:~0,2%
pushd %base_dir%

xcopy ".\smarteye\bin\Release\smarteye.exe" ".\bin\release\" /y

xcopy ".\auth\lib\Release\auth.yate" ".\bin\release\modules\" /y

xcopy ".\framework\lib\Release\framework.yate" ".\bin\release\modules\" /y

xcopy ".\smarteye\build\conf.d" ".\bin\release\conf.d\" /y

xcopy ".\sqlitedb\lib\release\sqlitedb.yate" ".\bin\release\modules" /y

xcopy ".\smarteye\build\sqlite.db" ".\bin\release\" /y

xcopy ".\gensql\lib\release\gensql.yate" ".\bin\release\modules" /y

popd